If (ParseMessage(txtMessage.Text, Group, Alias)) Then
Call AddAliasToDatabase(Addresses, Group, Alias)
Call AddAliasesToTree(Tree, Addresses)
Debug.Print "ParseMessage:Success"
Else
Debug.Print "ParseMessage:Error"
End If
POPCT.Delete 1 ' Delete message that just finished downloading
POPCT.Reset ' Update mail message list...
Case icDocError
Case icDocNone
Case Else
End Select
End Sub
Private Sub POPCT_Error(Number As Integer, Description As String, Scode As Long, Source As String, HelpFile As String, HelpContext As Long, CancelDisplay As Boolean)
' Debug.Print "POPCT Error:"
' Debug.Print "Number:", Number
' Debug.Print "Description:", Description
' Debug.Print "Scode:", Hex$(Scode)
' Debug.Print "Source:", Source
End Sub
Private Sub POPCT_ProtocolStateChanged(ByVal ProtocolState As Integer)
Private Sub smtpct_DocInput(ByVal DocInput As DocInput)
Select Case DocInput.State
Case icDocBegin
Debug.Print "SMTPCT: Send Start."
Case icDocHeaders
Debug.Print "SMTPCT: Sending Headers..."
Case icDocData
Debug.Print "SMTPCT: Sending Data..."
Case icDocEnd
Debug.Print "SMTPCT: Send Complete."
Case icDocError
Case icDocNone
End Select
End Sub
Private Sub smtpct_Error(Number As Integer, Description As String, Scode As Long, Source As String, HelpFile As String, HelpContext As Long, CancelDisplay As Boolean)
' Debug.Print "SMTPCT Error:"
' Debug.Print "Number:", Number
' Debug.Print "Description:", Description
' Debug.Print "Scode:", Hex$(Scode)
' Debug.Print "Source:", Source
End Sub
Private Sub smtpct_ProtocolStateChanged(ByVal ProtocolState As Integer)